home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / qedit207.arc / QCONFIG.DAT < prev    next >
Text File  |  1989-04-16  |  8KB  |  325 lines

  1. *
  2. *  Default config file for QEdit 2.x.
  3. *  Specify control-key commands via: ^f1 - This means control f1
  4. *  Specify alt-key commands via: @f1     - This means alt f1
  5. *  Specify shift-key commands via: #f1   - This means shift f1
  6. *
  7. *  There is also a provision for "multiple (two at most in the current
  8. *  implementation) key commands".
  9. *  For example, to make the control f1 control f2 sequence issue the
  10. *  exit command, try the following: ^f1_^f2     exit
  11. *  The key here is that the commands must be separated by a '_'.
  12. *
  13. *  Multiple commands and/or text may be entered for a single key.  To do so,
  14. *  specify "macro_begin" as the first command.  To enter text, enclose the
  15. *  text in single or double quote marks.
  16. *  For example:
  17. *  f1  macro_begin edit_file 'help.dat' return
  18. *  This command would load the file 'help.dat'.  Note the return command is
  19. *  issued after the text.  This is required to terminate the QEdit prompt.
  20. *
  21. *  Following is a macro that will run make and load the results into a window.
  22. *
  23. *  macro_begin edit_file 'errors.lst' return quit dos 'make >errors.lst' return return horizontal_window edit_file 'errors.lst' return
  24. *
  25. *  Following macro will run Turbo C on the current file
  26. *
  27. *  MacroBegin GSave Dos 'tcc -y -M ' CurrentFilename Return
  28. *
  29. *  Finally, you can also use the scancode to represent "special keys", as
  30. *  long as this key returns a ascii character code of 0.
  31. *  For example alt f9 returns an ascii character of 0 and a scan code of
  32. *  112 decimal.  To make alt f9 issue the edit_file command, you could:
  33. *
  34. *  112  edit_file
  35. *      or
  36. *  @f9  edit_file
  37. *
  38. *  This becomes especially useful if you have a macro processor and/or
  39. *  special keyboard that has extended keys that QEdit doesn't have names
  40. *  for.  This gives you a method to use them.
  41. *
  42. *  Either will work.
  43. *
  44. *  Note that the order of this file is NOT important.  Arrange it however
  45. *  makes sense to you.
  46. *
  47.  
  48. *
  49. * function key set
  50. *
  51.  
  52. f1                      quick_help
  53. f2                      add_line
  54. f3
  55. f4                      dup_line
  56. f5                      maketopofscreen
  57. f6                      del_to_eol
  58. f7                      mark_block_begin
  59. f8                      mark_block_end
  60. f9                      shell
  61. f10
  62.  
  63. * enhanced keyboard only
  64. f11
  65. f12
  66. *
  67.  
  68. #f1                     toggleBoxDraw
  69. #f2
  70. #f3
  71. #f4
  72. #f5                     makectrofscreen
  73. #f6
  74. #f7                     shiftleft
  75. #f8                     shiftright
  76. #f9
  77. #f10
  78. * enhanced keyboard only
  79. #f11
  80. #f12
  81.  
  82. ^f1                     toggleEGA43
  83. ^f2
  84. ^f3
  85. ^f4
  86. ^f5
  87. ^f6
  88. ^f7
  89. ^f8
  90. ^f9
  91. ^f10
  92. * enhanced keyboard only
  93. ^f11
  94. ^f12
  95.  
  96. @f1
  97. @f2                     insert_line
  98. @f3                     match
  99. @f4
  100. @f5                     screen_left
  101. @f6                     screen_right
  102. @f7
  103. @f8
  104. @f9                     dos
  105. @f10                    show_entry_screen
  106. * enhanced keyboard only
  107. @f11
  108. @f12
  109.  
  110. *
  111. * special keys
  112. *
  113.  
  114. cursorup                cursor_up
  115. cursordown              cursor_down
  116. cursorleft              cursor_left
  117. cursorright             cursor_right
  118. ^cursorleft             word_left
  119. ^cursorright            word_right
  120. home                    beg_line
  121. end                     end_line
  122. ^home                   beg_screen
  123. ^end                    end_screen
  124. pgup                    page_up
  125. pgdn                    page_down
  126. ^pgdn                   end_file
  127. ^pgup                   beg_file
  128.  
  129. #tab                    tab_lt
  130. tab                     tab_rt
  131.  
  132. ins                     toggle_insert
  133. del                     del_ch
  134.  
  135. backspace               backspace
  136. ^backspace              del_lt_word
  137.  
  138. enter                   return
  139. ^enter                  ExecuteScrap
  140.  
  141. escape                  escape
  142.  
  143. grey*                   paste
  144. grey+                   copy
  145. grey-                   cut
  146. #del                    input_ch
  147. #ins                    input_ch
  148. `                       input_ch
  149. ~                       input_ch
  150. /                       input_ch
  151.  
  152. ^prtsc                  pasteover
  153. ^2
  154. ^6
  155. ^[
  156. ^\
  157. ^]
  158. ^-                      get_prev
  159.  
  160. *
  161. * alternate keys
  162. *
  163.  
  164. @a                      drop_anchor
  165. @b                      wrap_para
  166. @c                      copy_block
  167. @d                      del_line
  168. @e                      edit_file
  169. @f                      macro_begin main_menu 'f'
  170. @g                      delete_block
  171. @h                      quick_help
  172. @i                      ToggleTabsOut
  173. @j                      join_line
  174. @k                      mark_column
  175. @l                      mark_line
  176. @m                      move_block
  177. @n                      next_file
  178. @o                      change_filename
  179. @p                      macro_begin main_menu 'p'
  180. @q                      macro_begin main_menu 'q'
  181. @r                      read_block
  182. @s                      split_line
  183. @t
  184. @u                      unmark_block
  185. @v                      toggletabsexpand
  186. @w                      writeblock
  187. @x                      g_exit
  188. @y                      gsave
  189. @z                      copy_over_block
  190. @1
  191. @2
  192. @3
  193. @4
  194. @5
  195. @6
  196. @7
  197. @8
  198. @9
  199. @0
  200. @-
  201. @=
  202.  
  203. *
  204. * control keys
  205. *
  206.  
  207.  
  208. ^a                      word_left
  209. ^b_a                    append_scrbuff
  210. ^b_l                    get_scrbuff
  211. ^b_s                    storescrbuff
  212. ^c                      page_down
  213. ^d                      cursor_right
  214. ^e                      cursor_up
  215. ^f                      word_right
  216. ^g                      del_ch
  217. ^h                      backspace
  218. ^i                      tabrt
  219. ^j                      goto_line
  220. ^k_b                    mark_block_begin
  221. ^k_c                    copy_block
  222. ^k_d                    exit
  223. ^k_e                    edit_file
  224. ^k_f                    change_filename
  225. ^k_h                    unmark_block
  226. ^k_k                    mark_block_end
  227. ^k_n                    next_file
  228. ^k_p                    prev_file
  229. ^k_q                    pquit
  230. ^k_r                    read_block
  231. ^k_s                    save_file
  232. ^k_t
  233. ^k_v                    move_block
  234. ^k_w                    writeblock
  235. ^k_x                    file
  236. ^k_y                    delete_block
  237. ^k_z                    kill_file
  238. ^l                      repeat_find
  239. ^m                      macro_record
  240. ^n                      split_line
  241. ^o_c                    close_window
  242. ^o_l                    set_print_left_margin
  243. ^o_n                    next_window
  244. ^o_o                    one_window
  245. ^o_p                    prev_window
  246. ^o_g                    grow_window
  247. ^o_r                    set_rmargin
  248. ^o_s                    shrink_window
  249. ^o_h                    horizontal_window
  250. ^o_w                    toggle_wordwrap
  251. ^o_z                    zoom_window
  252. ^p                      literal
  253. ^q_a                    find_replace
  254. ^q_b                    goto_block_beg
  255. ^q_c                    end_file
  256. ^q_d                    end_line
  257. ^q_e                    beg_screen
  258. ^q_f                    find
  259. ^q_i                    toggle_indent
  260. ^q_k                    goto_block_end
  261. ^q_l                    undo_cursorline
  262. ^q_p                    prev_position
  263. ^q_r                    beg_file
  264. ^q_s                    beg_line
  265. ^q_t                    toggle_smart_tabs
  266. ^q_x                    end_screen
  267. ^q_y                    del_to_eol
  268. ^r                      page_up
  269. ^s                      cursor_left
  270. ^t                      del_rt_word
  271. ^u                      unkill
  272. ^v                      toggle_insert
  273. ^w                      scroll_up
  274. ^x                      cursor_down
  275. ^y                      del_line
  276. ^z                      scroll_down
  277.  
  278. *
  279. * other enhanced only keys
  280. *
  281. @'
  282. @,
  283. @.
  284. @/
  285. @;
  286. @[
  287. @\
  288. @]
  289. @`
  290. @backspace
  291. @enter
  292. @escape
  293. @grey*
  294. @grey+
  295. @grey-
  296. @grey/
  297. @greycursordown
  298. @greycursorleft
  299. @greycursorright
  300. @greycursorup
  301. @greydel
  302. @greyend
  303. @greyhome
  304. @greyins
  305. @greypgdn
  306. @greypgup
  307. @greyenter
  308. @tab
  309.  
  310. greyenter       return
  311. ^greyenter      ExecuteScrap
  312. ^centercursor
  313. ^cursordown     linedown
  314. ^cursorup       lineup
  315. ^del
  316.  
  317. ^grey*
  318. ^grey+
  319. ^grey-
  320. ^grey/
  321. ^ins
  322. ^tab
  323.  
  324. centercursor
  325.